package com.zhou.utils.enums;

/**
 * @Description : 高德天气
 * @Author : zyy
 * @Date: 2024/7/17  14:15
 */
public enum TianQiEnum {
    PROVINCE("省份", "province"),
    CITY("城市", "city"),
    CITY_CODE("城市编码", "city_code"),
    WEATHER("天气现象", "weather"),
    TEMPERATURE("温度", "temperature"),
    HUMIDITY("湿度", "humidity"),
    WIND_DIRECTION("风向", "wind_direction"),
    WIND_POWER("风力", "wind_power"),
    REPORT_TIME("数据发布时间", "report_time");

    private String key;

    private String desc;

    TianQiEnum(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }
    //返回描述
    public String getKey() {
        return key;
    }
    //返回
    public String getDesc() {
        return desc;
    }
}
